<?php

namespace app\shop\model\store;
use app\shop\model\user\User;
use think\Model;

/**
 * 车膜预约订单模型
 */
class CarfilmBooking extends Model
{
    protected $pk = 'booking_id';

    protected $autoWriteTimestamp = "datetime";
    protected $createTime = 'created_at';
    protected $updateTime = 'updated_at';

    public function store(){
        return $this->belongsTo(User::class,"store_id","user_id");
    }
}